$def with(email = None, msg = None, flag = 'failure_24.png')
$:frender.header(title = '退订', bignav = True, css = ['default/css/lite.css'])

<script type="text/javascript">
    $$(function () {

    });
</script>
<div id="content">
    <div class="layer layer-full">
        <div class="tube">
            <div class="block">
                
                
                <h1 class="tit">退订</h1>
                <!-- 注册寻宝图帐号 -->
                <div class="dymswitch-b com-box notopborder cur" style="display: block; border-top:1px solid #ebebeb;">
                    <div class="for-cont clr">
                        <!-- 左侧 -->
                        <div class="cnt-full clr">
                            <div class="loreg-t">
                            </div>

                            $if msg:
                                <div class="loreg-l center" style="width:100%;">
                                    <p class="big_fnt"><img
                                    style="display:inline;" class="middle"
                                    src="$config.STATIC_PREFIX/images/common/$:flag" /><span>$:msg</span></p>
                                    <p class="loreg-suc-btn"><a class="eml_rss_btn _login" href="/"><b>返回首页</b></a></p>

                                    
                                </div>
                            $else:
                                <div class="loreg-l center" style="width:100%;">
                                    <form method="post" id="unsub-form">
                                    <p class="big_fnt"><span>您确定要取消订阅“寻宝图每周特惠追踪精选”吗？（$email）</span></p>
                                    <p class="loreg-suc-btn">
                                        <a class="eml_rss_btn" href="javascript:;" onclick="$$('#unsub-form').submit();return false;"><b>确定退订</b></a>
                                        <a class="eml_rss_btn" href="/"><b>返回首页</b></a>
                                    </p>
                                    </form>

                                    
                                </div>

                        </div>
                        
                    </div>
                </div>
                <!-- 注册寻宝图帐号 -->
            </div>
        </div> 
    </div>
</div>

$:frender.footer(bignav = True)
